/**
 * 2018/05/10 by xiongisxiong
 * 小部件：分隔符
 */
import React, { PureComponent } from 'react';
import { View, StyleSheet } from 'react-native';
import { screen, color } from '../utils';

export default class Separator extends PureComponent {
  render () {
    return (
      <View style={[styles.line, this.props.style]}></View>
    )
  }
}

const styles = StyleSheet.create({
  line: {
    width: screen.width,
    height: screen.onePixel,
    backgroundColor: color.border
  }
})